package com.sinven.serviceImpl;

import com.sinven.dao.AttributeCategoryDao;
import com.sinven.daoImpl.AttributeCategoryDaoImpl;
import com.sinven.entity.AttributeCategory;
import com.sinven.service.AttributeCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class AttributeCategoryServiceImpl implements AttributeCategoryService {
    @Autowired
    @Qualifier("AttributeCategoryDao")
    private AttributeCategoryDaoImpl attributeCategoryDao;
    @Override
    public List<AttributeCategory> list(String hql) {
        List<AttributeCategory> list = attributeCategoryDao.list(hql);
        return list;
    }
}
